const Koa = require('koa')
const path = require('path')
const KoaHelmet = require('koa-helmet')
const KoaStatic = require('koa-static')
const app = new Koa()

const router = require('./routers/routes')

app.use(KoaHelmet())
app.use(KoaStatic(path.join(__dirname, '../public')))
app.use(router())

app.listen(3000)